Callback interface for barcode detection events.
Called when one or more barcodes are detected in the camera preview.
Called when the barcode detector fails to initialize.